package com.xiangban.yanglaodajie_admin.dao;

import com.xiangban.yanglaodajie_admin.entity.Honor;
import com.xiangban.yanglaodajie_admin.entity.Ids;
import com.xiangban.yanglaodajie_admin.entity.Leader;
import com.xiangban.yanglaodajie_admin.entity.ShopExpand;
import com.xiangban.yanglaodajie_admin.entity.dto.ShopExpandDto;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/7/22 15:39
 */
@Repository
public interface ShopExpandMapper {

    void deleteHonor(Ids ids);
    void updateHonor(Honor honor);
    void insertHonor(Honor honor);
    Honor selectHonorInfo(Honor honor);
    Leader selectLeader(Leader leader);
    List<Honor> selectHonorList(Integer shopId);
    void deleteLeader(Ids ids);
    void updateLeader(Leader leader);
    void insertLeader(Leader leader);
    List<Leader> selectLeaderList(Leader leader);
    void updateShopExpand(ShopExpandDto shopExpandDto);
    void insertShopExpand(ShopExpandDto shopExpandDto);

    ShopExpandDto selectShopExpand(Map<String,Object> map);
}
